lcPropGetStrA | Home |
int lcPropGetStrA ( HANDLE hObject, int idProp, char* szBuf, int BufSize ); |
hObject | |
Handle to object. | |
idProp | |
Property's identifier. | |
szBuf | |
A pointer to a buffer that receives the property string. Your application must allocate memory for the buffer, enough to place the property value. | |
BufSize | |
Size of the buffer, maximal number of characters that can be written into the buffer, including terminating null character. |
A number of characters copied to the destination buffer, not including the terminating null character. |
lcPropGetStr |
Dim sName As String Dim nSize As Integer sName = Space(256) nSize = lcPropGetStrA(hLayer, LC_PROP_LAYER_NAME, sName, 256) sName = Left(sName, nSize) |